<template>
  <div class="app-main">
    <div class="dashboard">
      <div class="divStatic">
        <!-- 左边 -->
        <div class="divLeft">
          <div class="banner">
            <img
              src="http://www-wms-java.itheima.net/img/dashboard-banner-left@2x.5afd2949.png"
              alt=""
              class="img-left"
            >
            <img
              src="http://www-wms-java.itheima.net/img/dashboard-banner-right@2x.28195570.png"
              alt=""
              class="img-right"
            >
            <img
              src="http://www-wms-java.itheima.net/img/avatar@2x.4f4a758f.png"
              alt=""
              class="user-header"
            >
            <p class="user-title">仓储管理员</p>
            <p class="subject-title">我不是为了输赢，我就是认真！</p>
            <p class="subject-author">—— 罗永浩</p>
            <div class="site">
              <p class="title">北京总仓</p>
            </div>
          </div>
          <div class="backlog" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.app-main {
  background-color: #fdfafa;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
}
.dashboard {
  padding: 20px 30px 30px 30px;
}
.divStatic {
  width: 100%;
  height: 451px;
}
.banner{
    position: relative;
    width: 100%;
    height: 148px;
    background: linear-gradient(270deg,#ffc771,#ffa634);
    box-shadow: 0 0 6px 0 rgb(188 151 69 / 12%);
    border-radius: 12px;
}
.divLeft {
  width: calc(100% - 261px);
  padding-right: 30px;
}
.divLeft .img-left {
  position: absolute;
  top: 0;
  left: 0;
  height: 148px;
}
.divLeft .img-right {
  position: absolute;
  top: 0;
  right: 0;
  height: 148px;
}
.divLeft .user-header {
  position: absolute;
  top: 31px;
  left: 43px;
  height: 62px;
}
.divLeft .user-title {
  position: absolute;
  left: 36px;
  bottom: 20px;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #332929;
  line-height: 22px;
}
.divLeft .subject-title {
  position: absolute;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #fff;
  line-height: 25px;
}
.divLeft .subject-author {
  top: 76px;
  left: 400px;
  font-size: 16px;
}
.divLeft .site {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 147px;
  height: 40px;
  background: #f8f5f5;
  border-radius: 6px;
  opacity: 0.79;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.divLeft .site .title {
  font-size: 14px;
  font-weight: 500;
  color: #332929;
}

.backlog {
  margin-top: 20px;
  width: 100%;
  height: 282px;
  background: #fff;
  box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
  border-radius: 12px;
  padding: 25px;
}
</style>
